home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet multimedia
/
Linux LiveCD
/
GeeXboX 1.0 EN
/
geexbox-1.0-en.i386.iso
/
GEEXBOX
/
etc
/
init.d
/
11_lcddisplay
< prev
next >
Wrap
Text File
|
2006-06-21
|
455b
|
22 lines
#!/bin/sh
#
# start lcd display
#
# runlevels: geexbox, debug
# get options
test -f /etc/lcddisplay || exit 1
. /etc/lcddisplay
CONFIG=/etc/lcd4linux.conf
if test "$LCD_ENABLED" = "yes" -a -f $CONFIG; then
echo "### Starting LCD Display ###"
# create the fifo for mplayer
mkfifo /tmp/mp_streaminfo
sed -i -e "s/LCD_WIDTH/$LCD_WIDTH/g" -e "s/LCD_HEIGHT/$LCD_HEIGHT/g" $CONFIG
/usr/bin/lcd4linux -c "Display='$LCD_MODEL'" -f $CONFIG
fi
exit 0